Reinforcement learning message delivery